# -*- coding: utf8 -*-

import os
from google.appengine.ext.webapp import template

def render_to_response(response, template_name, context):
    from os.path import dirname
    path = os.path.join(dirname(dirname(__file__)), "templates", template_name)
    response.out.write(template.render(path, context))
    
def not_login(response):
    pass